package com.hdaccp.shuiguoD.service;

import com.hdaccp.shuiguoD.entity.Shangpin;

import java.util.List;

public interface ShangpinService {
    public  List<Shangpin> getAll() ;
    public long findTotalCount(String sname);
    public List<Shangpin> findAll(String sname,int offset,int limit);
    public Shangpin getsid(int sid);

    public int add(Shangpin shangpin);
}
